package com.sand.service;

import com.sand.entity.CityEntity;
import com.sand.entity.CommunityEntity;
import com.sand.entity.TUserEntity;
import com.sand.util.PageModel;

import java.util.HashMap;
import java.util.List;

public interface ICityService {
    HashMap<String, Object> queryCommunityById(int id);
    CityEntity queryCityByName(String cityName);
    List<CityEntity> queryCityByLikeName(String cityName);
    List<HashMap<String,Object>> queryComByLikeName(String condition);
    PageModel<HashMap<String, Object>> queryCityLimit(int limit, int page, String condition);
    HashMap<String,Object> queryCityList(int id, int showWi,String condition);
    List<HashMap<String, Object>> queryAllCity();

    boolean addCommunity(String data);
    boolean delCommunity(String data);
    boolean updateCommunity(String data);
}
